package day_08;

public class StudentTest {
    public static void main(String[] args) {
        //带参构造法
        Student s1=new Student("张三",-1,"9527");
        //空参构造法
//        Student s1=new Student();
//        s1.getname("张三");
//        s1.getage(10);
//        s1.getid("9527");
        System.out.println(s1.putname());
        System.out.println(s1.putage());
        System.out.println(s1.putid());
        s1.study();
        s1.sleep();
    }
}
